Journal article

Simulating survival data using the simsurv R package

SL Brilleman, R Wolfe, M Moreno-Betancur, MJ Crowther

Journal of Statistical Software | JOURNAL STATISTICAL SOFTWARE | Published : 2021

Abstract

The simsurv R package allows users to simulate survival (i.e., time-to-event) data from standard parametric distributions (exponential, Weibull, and Gompertz), two-component mixture distributions, or a user-defined hazard function. Baseline covariates can be included under a proportional hazards assumption. Clustered event times, for example indi-viduals within a family, are also easily accommodated. Time-dependent effects (i.e., non-proportional hazards) can be included by interacting covariates with linear time or a user-defined function of time. Under a user-defined hazard function, event times can be generated for a variety of complex models such as flexible (spline-based) baseline hazar..

View full abstract

University of Melbourne Researchers

Grants

Awarded by Medical Research Council


Funding Acknowledgements

SLB is funded by an Australian National Health and Medical Research Council (NHMRC) Postgraduate Scholarship (ref: APP1093145), with additional support from an NHMRC Centre of Research Excellence grant (ref: 1035261) awarded to the Victorian Centre for Biostatistics (ViCBiostat). MJC is partly funded by a UK Medical Research Council (MRC) New Investigator Research Grant (ref: MR/P015433/1).